package com.hs.srm.admin.modules.requisition.service.impl;

import java.util.List;
import org.springframework.stereotype.Service;
import com.baomidou.mybatisplus.service.impl.ServiceImpl;
import com.hs.srm.admin.modules.requisition.dao.SupplyGoodsDao;
import com.hs.srm.admin.modules.requisition.entity.SupplyGoodsEntity;
import com.hs.srm.admin.modules.requisition.service.SupplyGoodsService;


/**
 * @author yanfei
 *
 * @date 2019年4月28日
 * 
 * 货源分配的记录类
 */
@Service("supplyGoodsService")
public class SupplyGoodsServiceImpl  extends ServiceImpl<SupplyGoodsDao, SupplyGoodsEntity>   implements SupplyGoodsService {

	@Override
	public List<SupplyGoodsEntity> findByNo(String npkIdItemCode) {

		return this.baseMapper.findByNo(npkIdItemCode);
	}

	@Override
	public List<SupplyGoodsEntity> findByQuotationId(String quotationId) {
		
		return this.baseMapper.findByQuotationId(quotationId);
	}
    
	
}
